:root {
  font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;

  // color: #fff;
  // background-color: rgba(26, 26, 26, 0.9);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}
*,
*::after,
*::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  overflow-y: auto !important;
}
html,
body,
#root {
  width: 100%;
  min-height: 100vh;
}
li {
  list-style: none;
}
input,
textarea {
  outline: 0px;
  resize: none;
  &.err {
    border: 1px solid $theme-error !important;
  }
}

.full-w {
  width: 100%;
}
.full-h {
  height: 100%;
}
.full-nav {
  min-height: calc(100% - 35px);
}
.full {
  width: 100%;
  height: 100%;
}
.full-v {
  width: 100vw;
  height: 100vh;
}
.d-flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.justify-start {
  justify-content: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-between {
  justify-content: space-between;
}
.justify-around {
  justify-content: space-around;
}
.align-start {
  align-items: flex-start;
}
.align-center {
  align-items: center;
}
.align-end {
  align-items: flex-end;
}
.self-start {
  align-self: flex-start;
}

.text-c {
  text-align: center;
}
.text-l {
  text-align: left;
}
.text-r {
  text-align: right;
}

.position-r {
  position: relative;
}

.img-bg {
  background: #808080 no-repeat center center / cover;
}

.link {
  cursor: pointer !important;
  user-select: none;
  &:hover {
    // opacity: 0.8;
    color: $theme-primary;
  }
  &.line {
    text-decoration: underline;
  }
}
.link-p {
  cursor: pointer;
}
input::placeholder,
textarea::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.box-center {
  @include box-center;
}

.primary {
  background-color: $theme-primary !important;
}
.error {
  background-color: $theme-error !important;
}
.grey {
  background-color: $theme-grey !important;
}
.greysub {
  background-color: $theme-grey-sub !important;
}
.white {
  background-color: #fff;
}

.primary--text {
  color: $theme-primary !important;
}
.error--text {
  color: $theme-error !important;
}
.grey--text,
.font-c3 {
  color: $theme-grey !important;
  // color: rgba(0, 0, 0, 0.3);
}
.greysub--text,
.font-c6 {
  color: rgba(0, 0, 0, 0.6);
}
.font-c8 {
  color: rgba(0, 0, 0, 0.8);
}

.white--text {
  color: #fff;
}
.line-border {
  position: relative;
  &.err {
    &::before {
      background: $theme-error !important;
    }
  }
  &::before {
    content: ' ';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #3c6eff 0%, #4600a1 100%) !important;
  }
}
